home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 46 69 | 6e 64 20 61 20 54 65 72 |ts of Fi|nd a Ter|
|000000b0| 6d 69 6e 61 6c 20 44 65 | 73 63 72 69 70 74 69 6f |minal De|scriptio|
|000000c0| 6e 3c 2f 54 49 54 4c 45 | 3e 0a 0a 3c 4d 45 54 41 |n</TITLE|>..<META|
|000000d0| 20 48 54 54 50 2d 45 51 | 55 49 56 3d 22 43 6f 6e | HTTP-EQ|UIV="Con|
|000000e0| 74 65 6e 74 2d 54 79 70 | 65 22 20 43 4f 4e 54 45 |tent-Typ|e" CONTE|
|000000f0| 4e 54 3d 22 74 65 78 74 | 2f 68 74 6d 6c 3b 20 63 |NT="text|/html; c|
|00000100| 68 61 72 73 65 74 3d 75 | 74 66 2d 38 22 3e 0a 3c |harset=u|tf-8">.<|
|00000110| 4d 45 54 41 20 4e 41 4d | 45 3d 22 76 69 65 77 70 |META NAM|E="viewp|
|00000120| 6f 72 74 22 20 43 4f 4e | 54 45 4e 54 3d 22 77 69 |ort" CON|TENT="wi|
|00000130| 64 74 68 3d 64 65 76 69 | 63 65 2d 77 69 64 74 68 |dth=devi|ce-width|
|00000140| 2c 20 69 6e 69 74 69 61 | 6c 2d 73 63 61 6c 65 3d |, initia|l-scale=|
|00000150| 31 2e 30 22 3e 0a 3c 4d | 45 54 41 20 4e 41 4d 45 |1.0">.<M|ETA NAME|
|00000160| 3d 22 47 65 6e 65 72 61 | 74 6f 72 22 20 43 4f 4e |="Genera|tor" CON|
|00000170| 54 45 4e 54 3d 22 4c 61 | 54 65 58 32 48 54 4d 4c |TENT="La|TeX2HTML|
|00000180| 20 76 32 30 32 32 22 3e | 0a 0a 3c 4c 49 4e 4b 20 | v2022">|..<LINK |
|00000190| 52 45 4c 3d 22 53 54 59 | 4c 45 53 48 45 45 54 22 |REL="STY|LESHEET"|
|000001a0| 20 48 52 45 46 3d 22 67 | 72 61 70 68 69 63 2e 63 | HREF="g|raphic.c|
|000001b0| 73 73 22 3e 0a 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |ss">..<L|INK REL=|
|000001c0| 22 6e 65 78 74 22 20 48 | 52 45 46 3d 22 6e 6f 64 |"next" H|REF="nod|
|000001d0| 65 38 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |e8_mn.ht|ml">.<LI|
|000001e0| 4e 4b 20 52 45 4c 3d 22 | 70 72 65 76 69 6f 75 73 |NK REL="|previous|
|000001f0| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 36 5f 6d 6e |" HREF="|node6_mn|
|00000200| 2e 68 74 6d 6c 22 3e 0a | 3c 4c 49 4e 4b 20 52 45 |.html">.|<LINK RE|
|00000210| 4c 3d 22 75 70 22 20 48 | 52 45 46 3d 22 6e 6f 64 |L="up" H|REF="nod|
|00000220| 65 35 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |e5_mn.ht|ml">.<LI|
|00000230| 4e 4b 20 52 45 4c 3d 22 | 6e 65 78 74 22 20 48 52 |NK REL="|next" HR|
|00000240| 45 46 3d 22 6e 6f 64 65 | 38 5f 6d 6e 2e 68 74 6d |EF="node|8_mn.htm|
|00000250| 6c 22 3e 0a 3c 2f 48 45 | 41 44 3e 0a 20 0a 3c 42 |l">.</HE|AD>. .<B|
|00000260| 4f 44 59 20 62 67 63 6f | 6c 6f 72 3d 22 23 66 66 |ODY bgco|lor="#ff|
|00000270| 66 66 66 66 22 20 74 65 | 78 74 3d 22 23 30 30 30 |ffff" te|xt="#000|
|00000280| 30 30 30 22 20 6c 69 6e | 6b 3d 22 23 39 39 34 34 |000" lin|k="#9944|
|00000290| 45 45 22 20 76 6c 69 6e | 6b 3d 22 23 30 30 30 30 |EE" vlin|k="#0000|
|000002a0| 66 66 22 20 61 6c 69 6e | 6b 3d 22 23 30 30 66 66 |ff" alin|k="#00ff|
|000002b0| 30 30 22 3e 0a 0a 3c 48 | 32 3e 3c 41 20 49 44 3d |00">..<H|2><A ID=|
|000002c0| 22 53 45 43 54 49 4f 4e | 30 30 31 32 32 30 30 30 |"SECTION|00122000|
|000002d0| 30 30 30 30 30 30 30 30 | 30 30 30 30 22 3e 0a 46 |00000000|0000">.F|
|000002e0| 69 6e 64 20 61 20 54 65 | 72 6d 69 6e 61 6c 20 44 |ind a Te|rminal D|
|000002f0| 65 73 63 72 69 70 74 69 | 6f 6e 3c 2f 41 3e 0a 3c |escripti|on</A>.<|
|00000300| 2f 48 32 3e 0a 0a 3c 50 | 3e 0a 0a 3c 55 4c 3e 0a |/H2>..<P|>..<UL>.|
|00000310| 3c 4c 49 3e 3c 54 54 3e | 69 6e 74 20 74 67 65 74 |<LI><TT>|int tget|
|00000320| 65 6e 74 28 76 6f 69 64 | 20 2a 62 75 66 66 65 72 |ent(void| *buffer|
|00000330| 2c 20 63 6f 6e 73 74 20 | 63 68 61 72 20 2a 74 65 |, const |char *te|
|00000340| 72 6d 74 79 70 65 29 3c | 2f 54 54 3e 20 3c 41 20 |rmtype)<|/TT> <A |
|00000350| 49 44 3d 22 66 75 6e 5f | 74 67 65 74 65 6e 74 22 |ID="fun_|tgetent"|
|00000360| 3e 3c 2f 41 3e 0a 3c 42 | 52 3e 0a 4f 6e 20 74 68 |></A>.<B|R>.On th|
|00000370| 65 20 4c 69 6e 75 78 20 | 6f 70 65 72 61 74 69 6e |e Linux |operatin|
|00000380| 67 20 73 79 73 74 65 6d | 20 74 68 65 20 63 75 72 |g system| the cur|
|00000390| 72 65 6e 74 20 74 65 72 | 6d 69 6e 61 6c 20 6e 61 |rent ter|minal na|
|000003a0| 6d 65 20 69 73 0a 20 20 | 20 20 20 20 63 6f 6e 74 |me is. | cont|
|000003b0| 61 69 6e 65 64 20 69 6e | 20 74 68 65 20 65 6e 76 |ained in| the env|
|000003c0| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|000003d0| 65 20 3c 49 3e 54 45 52 | 4d 3c 2f 49 3e 2e 20 53 |e <I>TER|M</I>. S|
|000003e0| 6f 2c 0a 20 20 20 20 20 | 20 3c 54 54 3e 74 65 72 |o,. | <TT>ter|
|000003f0| 6d 74 79 70 65 3c 2f 54 | 54 3e 20 69 73 20 74 68 |mtype</T|T> is th|
|00000400| 65 20 72 65 73 75 6c 74 | 20 6f 66 20 61 20 63 61 |e result| of a ca|
|00000410| 6c 6c 20 74 6f 20 3c 49 | 3e 67 65 74 65 6e 76 28 |ll to <I|>getenv(|
|00000420| 33 29 3c 2f 49 3e 2e 0a | 0a 3c 50 3e 0a 46 6f 72 |3)</I>..|.<P>.For|
|00000430| 20 3c 54 54 3e 62 75 66 | 66 65 72 3c 2f 54 54 3e | <TT>buf|fer</TT>|
|00000440| 2c 20 6e 6f 20 6d 65 6d | 6f 72 79 20 68 61 73 20 |, no mem|ory has |
|00000450| 74 6f 20 62 65 20 61 6c | 6c 6f 63 61 74 65 64 20 |to be al|located |
|00000460| 77 68 65 6e 20 75 73 69 | 6e 67 20 74 68 65 20 47 |when usi|ng the G|
|00000470| 4e 55 0a 20 20 20 20 20 | 20 76 65 72 73 69 6f 6e |NU. | version|
|00000480| 20 6f 66 20 74 65 72 6d | 63 61 70 2e 20 20 54 68 | of term|cap. Th|
|00000490| 69 73 20 69 73 20 77 68 | 61 74 20 77 65 20 63 61 |is is wh|at we ca|
|000004a0| 6e 20 61 73 73 75 6d 65 | 20 75 6e 64 65 72 20 4c |n assume| under L|
|000004b0| 69 6e 75 78 21 0a 20 20 | 20 20 20 20 4f 74 68 65 |inux!. | Othe|
|000004c0| 72 77 69 73 65 2c 20 79 | 6f 75 27 6c 6c 20 68 61 |rwise, y|ou'll ha|
|000004d0| 76 65 20 74 6f 20 61 6c | 6c 6f 63 61 74 65 20 32 |ve to al|locate 2|
|000004e0| 30 34 38 20 42 79 74 65 | 73 2e 0a 20 20 20 20 20 |048 Byte|s.. |
|000004f0| 20 28 46 6f 72 6d 65 72 | 6c 79 2c 20 3c 54 54 3e | (Former|ly, <TT>|
|00000500| 62 75 66 66 65 72 3c 2f | 54 54 3e 20 6f 6e 6c 79 |buffer</|TT> only|
|00000510| 20 6e 65 65 64 65 64 20 | 74 6f 20 62 65 20 31 30 | needed |to be 10|
|00000520| 32 34 20 42 79 74 65 73 | 2c 20 62 75 74 0a 20 20 |24 Bytes|, but. |
|00000530| 20 20 20 20 74 68 65 20 | 73 69 7a 65 20 68 61 73 | the |size has|
|00000540| 20 64 6f 75 62 6c 65 64 | 29 2e 0a 0a 3c 50 3e 0a | doubled|)...<P>.|
|00000550| 3c 42 3e 74 67 65 74 65 | 6e 74 28 2e 2e 2e 29 3c |<B>tgete|nt(...)<|
|00000560| 2f 42 3e 20 72 65 74 75 | 72 6e 73 20 31 20 6f 6e |/B> retu|rns 1 on|
|00000570| 20 73 75 63 63 65 73 73 | 20 61 6e 64 20 30 20 77 | success| and 0 w|
|00000580| 68 65 6e 20 74 68 65 0a | 20 20 20 20 20 64 61 74 |hen the.| dat|
|00000590| 61 62 61 73 65 20 69 73 | 20 66 6f 75 6e 64 20 62 |abase is| found b|
|000005a0| 75 74 20 68 61 73 20 6e | 6f 20 65 6e 74 72 79 20 |ut has n|o entry |
|000005b0| 66 6f 72 20 54 45 52 4d | 2e 20 4f 74 68 65 72 20 |for TERM|. Other |
|000005c0| 65 72 72 6f 72 73 20 77 | 69 6c 6c 0a 20 20 20 20 |errors w|ill. |
|000005d0| 20 72 65 74 75 72 6e 20 | 64 69 66 66 65 72 65 6e | return |differen|
|000005e0| 74 20 76 61 6c 75 65 73 | 2e 0a 0a 3c 50 3e 0a 54 |t values|...<P>.T|
|000005f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 65 78 61 |he follo|wing exa|
|00000600| 6d 70 6c 65 20 73 68 6f | 75 6c 64 20 65 78 70 6c |mple sho|uld expl|
|00000610| 61 69 6e 20 68 6f 77 20 | 74 6f 20 75 73 65 20 3c |ain how |to use <|
|00000620| 42 3e 74 67 65 74 65 6e | 74 28 2e 2e 2e 29 3c 2f |B>tgeten|t(...)</|
|00000630| 42 3e 3a 0a 0a 3c 50 3e | 0a 3c 42 52 3e 0a 3c 49 |B>:..<P>|.<BR>.<I|
|00000640| 4d 47 0a 20 20 53 54 59 | 4c 45 3d 22 22 20 53 52 |MG. STY|LE="" SR|
|00000650| 43 3d 22 69 6d 67 32 2e | 70 6e 67 22 0a 20 41 4c |C="img2.|png". AL|
|00000660| 54 3d 22 5c 62 65 67 69 | 6e 7b 74 73 63 72 65 65 |T="\begi|n{tscree|
|00000670| 6e 7d 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |n}.\begi|n{verbat|
|00000680| 69 6d 7d 2e 2e 2e 22 3e | 0a 3c 42 52 3e 0a 0a 3c |im}...">|.<BR>..<|
|00000690| 50 3e 0a 42 79 2c 20 64 | 65 66 61 75 6c 74 20 74 |P>.By, d|efault t|
|000006a0| 65 72 6d 63 61 70 20 75 | 73 65 73 20 3c 49 3e 2f |ermcap u|ses <I>/|
|000006b0| 65 74 63 2f 74 65 72 6d | 63 61 70 2f 3c 2f 49 3e |etc/term|cap/</I>|
|000006c0| 20 61 73 20 74 68 65 20 | 64 61 74 61 62 61 73 65 | as the |database|
|000006d0| 2e 0a 09 49 66 20 74 68 | 65 20 65 6e 76 69 72 6f |...If th|e enviro|
|000006e0| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 20 54 |nment va|riable T|
|000006f0| 45 52 4d 43 41 50 20 69 | 73 20 73 65 74 2c 20 77 |ERMCAP i|s set, w|
|00000700| 69 74 68 0a 09 3c 49 3e | 24 48 4f 4d 45 2f 6d 79 |ith..<I>|$HOME/my|
|00000710| 74 65 72 6d 63 61 70 3c | 2f 49 3e 0a 09 66 6f 72 |termcap<|/I>..for|
|00000720| 20 69 6e 73 74 61 6e 63 | 65 2c 20 61 6c 6c 20 66 | instanc|e, all f|
|00000730| 75 6e 63 74 69 6f 6e 73 | 20 77 69 6c 6c 20 75 73 |unctions| will us|
|00000740| 65 20 3c 49 3e 6d 79 74 | 65 72 6d 63 61 70 3c 2f |e <I>myt|ermcap</|
|00000750| 49 3e 0a 09 69 6e 73 74 | 65 61 64 20 6f 66 20 3c |I>..inst|ead of <|
|00000760| 49 3e 2f 65 74 63 2f 74 | 65 72 6d 63 61 70 3c 2f |I>/etc/t|ermcap</|
|00000770| 49 3e 2e 20 20 57 69 74 | 68 20 6e 6f 20 6c 65 61 |I>. Wit|h no lea|
|00000780| 64 69 6e 67 0a 09 73 6c | 61 73 68 20 69 6e 20 54 |ding..sl|ash in T|
|00000790| 45 52 4d 43 41 50 2c 20 | 74 68 65 20 64 65 66 69 |ERMCAP, |the defi|
|000007a0| 6e 65 64 20 76 61 6c 75 | 65 20 69 73 20 75 73 65 |ned valu|e is use|
|000007b0| 64 20 61 73 20 61 20 6e | 61 6d 65 20 66 6f 72 20 |d as a n|ame for |
|000007c0| 61 0a 09 74 65 72 6d 69 | 6e 61 6c 2e 20 20 0a 3c |a..termi|nal. .<|
|000007d0| 2f 4c 49 3e 0a 3c 2f 55 | 4c 3e 0a 0a 3c 50 3e 0a |/LI>.</U|L>..<P>.|
|000007e0| 0a 3c 48 52 3e 0a 0a 3c | 2f 42 4f 44 59 3e 0a 3c |.<HR>..<|/BODY>.<|
|000007f0| 2f 48 54 4d 4c 3e 0a | |/HTML>. | |
+--------+-------------------------+-------------------------+--------+--------+